/**
 * comment
 */
.mxcomment-relative {
    position: relative;
}

/**
 * form
 */
.mxcomment-form {
    margin: 10px 0;
}
.mxcomment-form-btn {
    display: inline-block;
    width: 72px;
    height: 30px;
    font-size: 12px;
    color: #fff;
    border: 1px solid #666;
    background-color: #666;
    outline: 0;
    cursor: pointer;
    border-radius: 4px;
}
.mxcomment-form-avatar {
    width: 50px;
    height: 50px;
    border-radius: 25px;
}
.mxcomment-form-content {}
.mxcomment-form-textarea {
    display: inline-block;
    width: 100%;
    height: 80px;
    padding: 5px 10px;
    overflow: auto;
    box-sizing: border-box;
    color: #555;
    font-size: 14px;
    border: 1px solid #e5e9ef;
    background-color: #f4f5f7;
    resize: none;
    outline: 0;
    border-radius: 4px;
}
.mxcomment-form-textarea.error {
    border-color: #e40c0c;
    background-color: #fff;
}
.mxcomment-form-textarea:focus {
    border-color: #00a1d6;
    background-color: #fff;
}
.mxcomment-form-widget {
    position: relative;
    color: #99a2aa;
    font-size: 12px;
}
.mxcomment-form-widget a {
    text-decoration: none;
}

.mxcomment-widgets-pop {
    position: relative;
    width: 100%;
    margin-top: 10px;
    background-color: #fff;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, .2);
    border-radius: 6px;
}
.mxcomment-widgets-pop:before {
    content: "";
    display: block;
    position: absolute;
    top: -8px;
    right: 25px;
    width: 12px;
    height: 10px;
    background: url(./mxcomment.png) no-repeat -12px -456px;
}
.mxcomment-widgets-pop-content {
    margin: 0 12px 0 12px;
    padding-top: 15px;
    overflow: auto;
}
.mxcomment-widgets-pop-footer {
    position: relative;
    height: 38px;
    line-height: 38px;
    background-color: #f4f5f7;
    overflow: hidden;
    border-radius: 6px;
}
.mxcomment-widgets-pop-footer a {
    display: inline-block;
    width: 60px;
    color: #111;
    text-align: center;
}
.mxcomment-widgets-pop-footer a.active {
    background-color: #fff;
}

/* emoji */
.mxcomment-widgets-emoji {
    height: 150px;
    margin: 0 12px 0 12px;
    overflow: auto;
}
.mxcomment-widgets-emoji a {
    display: inline-block;
    padding: 5px 6px;
    margin: 3px 3px;
    color: #111;
    text-decoration: none;
    transition: background-color .2s;
    border-radius: 4px;
}

/* img */
.mxcomment-widgets-image {
    padding: 10px 0;
}
.mxcomment-widgets-image-input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 36px;
    padding: 0 5px;
    outline: none;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.mxcomment-widgets-image-btn-wrapper {
    margin-top: 10px;
}
.mxcomment-widgets-image-btn {
    display: block;
    height: 32px;
    width: 100%;
    color: #fff;
    border: 1px solid #666;
    background-color: #666;
    border-radius: 4px;
}